package com.aboverock.core.token;

import com.aboverock.common.enums.UserTypeEnum;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * The Class LocalUserLoginToken.
 *
 * @author Rock Wang
 */
public class LocalUserLoginToken extends UsernamePasswordToken {

    private static final long serialVersionUID = -6797534068743719002L;

    private int userType;

    public LocalUserLoginToken(String username, String password) {
        super(username, password);
        this.userType = UserTypeEnum.LOCAL.getValue();
    }

    public int getUserType() {
        return userType;
    }

}
